Show links as new row

Hello All,
I am a bit of a DXL newbe so please bear with me, what I wnat to do may be iimpossible.
I have module "a" which has links out to modules "b", "c" etc.
"a" holds basic requirements for the current product, "b" "c" etc hold detailed requirements applicable across many projects (environmental, storage, transport, legislative etc).
I want to be able to see in the module


Header | Col 1 | Col 2 | Col 3 | .... | Col n |

Row 1 | Requirement1 from "a"
Row 2 | Linked Requirement A from "a" or "b" or ...

Row 3 | Child 1 of Requirement A

Row n | Child n of Requirement A

Row n+1 | Requirement 2 from "a"


If you get the idea

I have adapted a DXL script to display this linked information in a single column next to the requirement in module "a"
Header | Col 1 | Col 2 |

Row 1 | Requirement1 from "a" | Linked Requirement A from "a" or "b" or ...
| | -> Child 1 of Requirement A
| | -> -> Child a of Child 1
| | -> -> :
| | -> -> Child z of Child 1
| | -> Child 2 of Requirement A
| | -> :
| | -> Child n of Requirement A

Row 2 | Requirement 2 from "a" | Linked Requirement A from "a" or "b" or ...
| | -> Child 1 of Requirement A
| | -> -> Child a of Child 1
| | -> -> :
| | -> -> Child z of Child 1
| | -> Child 2 of Requirement A
| | -> :
| | -> Child n of Requirement A


I was just wondering if you can make this appear as a new row for each requirement which would make the whole thing a lot more usable and you could then just export it as a word document or whatever you want (probably).

I don't want to create a requirement in each product for everyone of the detailed requirements that cover all products.

Is ther a magic DXL command "Display as new row"?
Am I going about this the wrong way?

Thanks in expectation
Champagne - Thu Oct 04 05:43:11 EDT 2012

Re: Show links as new row
OurGuest - Thu Oct 04 14:53:38 EDT 2012

You may be able to achieve your objectives if you include two columns in view, then export to word in book format.

The two columns would be main and the linked information column.

Re: Show links as new row
Mathias Mamsch - Fri Oct 05 11:11:59 EDT 2012

No there is no "show a virtual object and display something" magic call in DXL. If I understand you right, and you want new objects, you would need to create a new report module in DXL that contains the information you are looking for. There you can insert any object that you want. We have done this for other customers for evaluating traceability.

Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Show links as new row
llandale - Fri Oct 05 14:36:06 EDT 2012

I may not understand thos the following may not be a complete solution, but I suspect it will be helpful.

I think you need a layout column for linked module "a", "b" etc.
I think you want a layout column that does this:

  • Display info about each requirement child of "obj".
    • Display info about each requirement child object of each such requirement child object.


-Louie

 

 

if (obj is not requirement) halt
bufResults = create
 
for oLev1 in obj do
{  if (oLev1 is not requirement) continue
   bufResults += Indent1 plus some info about oLev1
   for oLev2 in oLev1 do
   {  if (oLev is not requirement) continue
      bufResults += Indent2 plus some info about oLev2
   }
}
display bufResults

 

 

Re: Show links as new row
Champagne - Fri Oct 12 03:48:21 EDT 2012

Mathias Mamsch - Fri Oct 05 11:11:59 EDT 2012
No there is no "show a virtual object and display something" magic call in DXL. If I understand you right, and you want new objects, you would need to create a new report module in DXL that contains the information you are looking for. There you can insert any object that you want. We have done this for other customers for evaluating traceability.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Thanks Mathias,
This does sound like the closest I may be able to come to a solution.
Do you have an example you could share and I could play with to get the idea?

Thanks (in hope)
Paul

Re: Show links as new row
Champagne - Fri Oct 12 04:23:20 EDT 2012

llandale - Fri Oct 05 14:36:06 EDT 2012

I may not understand thos the following may not be a complete solution, but I suspect it will be helpful.

I think you need a layout column for linked module "a", "b" etc.
I think you want a layout column that does this:

  • Display info about each requirement child of "obj".
    • Display info about each requirement child object of each such requirement child object.


-Louie

 

 

if (obj is not requirement) halt
bufResults = create
 
for oLev1 in obj do
{  if (oLev1 is not requirement) continue
   bufResults += Indent1 plus some info about oLev1
   for oLev2 in oLev1 do
   {  if (oLev is not requirement) continue
      bufResults += Indent2 plus some info about oLev2
   }
}
display bufResults

 

 

Thanks Louie,
Yes this is essentially what I have done as a step towards a full solution, I am going to have a go with the solution Mathias was suggesting when I get the chance as well.

Thanks again

Paul